package com.domain;

import java.sql.Date;

public class Treatments {
	private String treatmentCode;
	private String treatmentName;
	private float salesPrice;
	private String description;
	private Date modDate;
	private int version;

	public Date getModDate() {
		return modDate;
	}

	public void setModDate(Date modDate) {
		this.modDate = modDate;
	}

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

	public String getTreatmentName() {
		return treatmentName;
	}

	public void setTreatmentName(String treatmentName) {
		this.treatmentName = treatmentName;
	}

	public String getTreatmentCode() {
		return treatmentCode;
	}

	public void setTreatmentCode(String productCode) {
		this.treatmentCode = productCode;
	}

	public float getSalesPrice() {
		return salesPrice;
	}

	public void setSalesPrice(float salesPrice) {
		this.salesPrice = salesPrice;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Treatments() {
	}

	public Treatments(String treatmentCode, String treatmentName, float salesPrice,
			String description, Date modDate, int version) {
		this.treatmentName = treatmentName;
		this.treatmentCode = treatmentCode;
		this.salesPrice = salesPrice;
		this.description = description;
		this.modDate = modDate;
		this.version = version;
	}

	@Override
	public String toString() {
		return treatmentCode + "\t" + treatmentName + "\t" + salesPrice + "\t"
				+ description;
	}
}
